package com.bbs.service.impl;

import com.bbs.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.client.RestTemplate;

import javax.annotation.Resource;

/**
 * @author: ZackYoung
 * @time: 2020/11/9
 */
@Service
public class TestServiceImpl implements TestService {

    @Resource
    RestTemplate restTemplate;

    @Override
    public String echo(String name) {
        return "this is" + name;
    }
}
